﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HLDAPatternGraph.aspx.cs" Inherits="CPAIS.Web.HLDAPatternGraph" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Graph Shower</title>
</head>
<body>
    <form method="post" runat="server">
        <div style="text-align: center;">
            <asp:Chart ID="PatternChart" runat="server" Height="550" Width="1100">
                <Series>
                </Series>
                <ChartAreas>
                    <asp:ChartArea Name="ChartArea">
                        <AxisY Interval="0.1" IntervalAutoMode="VariableCount" IntervalOffsetType="Number" IntervalType="Number" Title="Frequency" TitleFont="Microsoft Sans Serif, 12pt">
                        </AxisY>
                        <AxisX Interval="1" Minimum="1" IntervalOffsetType="Number" IntervalType="Number" Title="Length of stay (day)" TitleFont="Microsoft Sans Serif, 12pt">
                        </AxisX>
                        <Area3DStyle Enable3D="True" Inclination="20" WallWidth="1" />
                    </asp:ChartArea>
                </ChartAreas>
                <Legends>
                    <asp:Legend>
                    </asp:Legend>
                </Legends>
                <Titles>
                    <asp:Title Font="Microsoft Sans Serif, 20px, style=Bold" ForeColor="Orange" Name="Title1" Text="" TextStyle="Default">
                    </asp:Title>
                </Titles>
            </asp:Chart>
            <div style="margin-bottom: 10px;">
                <span id="Log" runat="server"></span>
                <span id="Index" runat="server"></span>
            </div>
            <div>
                <asp:Label runat="server">Inclination</asp:Label>
                <asp:DropDownList ID="Inclination" runat="server" AutoPostBack="true">
                    <asp:ListItem Value="10">10</asp:ListItem>
                    <asp:ListItem Value="20">20</asp:ListItem>
                    <asp:ListItem Value="30" Selected="True">30</asp:ListItem>
                    <asp:ListItem Value="40">40</asp:ListItem>
                    <asp:ListItem Value="50">50</asp:ListItem>
                    <asp:ListItem Value="60">60</asp:ListItem>
                    <asp:ListItem Value="70">70</asp:ListItem>
                    <asp:ListItem Value="80">80</asp:ListItem>
                    <asp:ListItem Value="90">90</asp:ListItem>
                </asp:DropDownList>
                <asp:Label runat="server">&nbsp;&nbsp;&nbsp;&nbsp;RotateY</asp:Label>
                <asp:DropDownList ID="RotateY" runat="server" AutoPostBack="true">
                    <asp:ListItem Value="-60">-60</asp:ListItem>
                    <asp:ListItem Value="-50">-50</asp:ListItem>
                    <asp:ListItem Value="-40">-40</asp:ListItem>
                    <asp:ListItem Value="-30">-30</asp:ListItem>
                    <asp:ListItem Value="-10">-10</asp:ListItem>
                    <asp:ListItem Value="-10">-10</asp:ListItem>
                    <asp:ListItem Value="0">0</asp:ListItem>
                    <asp:ListItem Value="10">10</asp:ListItem>
                    <asp:ListItem Value="20">20</asp:ListItem>
                    <asp:ListItem Value="30" Selected="True">30</asp:ListItem>
                    <asp:ListItem Value="40">40</asp:ListItem>
                    <asp:ListItem Value="50">50</asp:ListItem>
                    <asp:ListItem Value="60">60</asp:ListItem>
                </asp:DropDownList>
                <asp:Label runat="server">&nbsp;&nbsp;&nbsp;&nbsp;Perspective</asp:Label>
                <asp:DropDownList ID="Perspective" runat="server" AutoPostBack="true">
                    <asp:ListItem Value="0" Selected="True">0</asp:ListItem>
                    <asp:ListItem Value="10">10</asp:ListItem>
                    <asp:ListItem Value="20">20</asp:ListItem>
                    <asp:ListItem Value="30">30</asp:ListItem>
                    <asp:ListItem Value="40">40</asp:ListItem>
                    <asp:ListItem Value="50">50</asp:ListItem>
                    <asp:ListItem Value="60">60</asp:ListItem>
                    <asp:ListItem Value="70">70</asp:ListItem>
                    <asp:ListItem Value="80">80</asp:ListItem>
                    <asp:ListItem Value="90">90</asp:ListItem>
                    <asp:ListItem Value="100">100</asp:ListItem>
                </asp:DropDownList>
            </div>
            <div>
                <asp:Label runat="server">&nbsp;&nbsp;&nbsp;&nbsp;Switch Mode</asp:Label>
                <asp:DropDownList ID="SwitchMode" runat="server" AutoPostBack="true" OnSelectedIndexChanged="SwitchMode_SelectedIndexChanged">
                    <asp:ListItem Value="Probability" Selected="True">Probability</asp:ListItem>
                    <asp:ListItem Value="Frequency">Frequency</asp:ListItem>
                </asp:DropDownList>
                <asp:Label runat="server">&nbsp;&nbsp;&nbsp;&nbsp;Filter Activities</asp:Label>
                <asp:DropDownList ID="FilterActivities" runat="server" Style="width: 150px;" AutoPostBack="true" OnSelectedIndexChanged="FilterActivities_SelectedIndexChanged">
                    <asp:ListItem Value="0.001">0.001</asp:ListItem>
                    <asp:ListItem Value="0.002">0.002</asp:ListItem>
                    <asp:ListItem Value="0.003">0.003</asp:ListItem>
                    <asp:ListItem Value="0.004">0.004</asp:ListItem>
                    <asp:ListItem Value="0.005">0.005</asp:ListItem>
                    <asp:ListItem Value="0.006">0.006</asp:ListItem>
                    <asp:ListItem Value="0.007">0.007</asp:ListItem>
                    <asp:ListItem Value="0.008">0.008</asp:ListItem>
                    <asp:ListItem Value="0.009">0.009</asp:ListItem>
                    <asp:ListItem Value="0.01" Selected="True">0.01</asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="EditFilterActivities" runat="server" Text="0.01" Style="position: relative; width: 130px; left: -155px;" AutoPostBack="true" OnTextChanged="EditFilterActivities_TextChanged"></asp:TextBox>
                <asp:Label runat="server">&nbsp;&nbsp;&nbsp;&nbsp;Filter Timestamps</asp:Label>
                <asp:DropDownList ID="FilterTimestamps" runat="server" Style="width: 150px;" AutoPostBack="true" OnSelectedIndexChanged="FilterTimestamps_SelectedIndexChanged">
                    <asp:ListItem Value="0.001">0.001</asp:ListItem>
                    <asp:ListItem Value="0.002">0.002</asp:ListItem>
                    <asp:ListItem Value="0.003">0.003</asp:ListItem>
                    <asp:ListItem Value="0.004">0.004</asp:ListItem>
                    <asp:ListItem Value="0.005">0.005</asp:ListItem>
                    <asp:ListItem Value="0.006">0.006</asp:ListItem>
                    <asp:ListItem Value="0.007">0.007</asp:ListItem>
                    <asp:ListItem Value="0.008">0.008</asp:ListItem>
                    <asp:ListItem Value="0.009">0.009</asp:ListItem>
                    <asp:ListItem Value="0.01" Selected="True">0.01</asp:ListItem>
                </asp:DropDownList>
                <asp:TextBox ID="EditFilterTimestamps" runat="server" Text="0.01" Style="position: relative; width: 130px; left: -155px;" AutoPostBack="true" OnTextChanged="EditFilterTimestamps_TextChanged"></asp:TextBox>
            </div>
        </div>
    </form>
</body>
</html>
